package com.cloud.drore.eboss.supplier.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.drore.eboos.common.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: 门票实体类价格<br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/3/14 0014 下午 3:00 <br>
 * @Author: <a href="410508961@qq.com">夏凯</a>
 */
@Data
@Table(name = "eboos_ticket_price")
public class TicketPriceSynchronization extends BaseEntity<Long> {
    /**
     * 供应商和运营商的结算价
     */
    @JsonProperty("settlement_price")
    @JSONField(name = "settlement_price")
    @ApiModelProperty(name = "settlement_price", notes = "供应商和运营商的结算价 ", example = "2.0")
    private BigDecimal settlementPrice;

    /**
     * 畅游通的销售价
     */
    @JsonProperty("sales_price")
    @JSONField(name = "sales_price")
    @ApiModelProperty(name = "sales_price", notes = "畅游通的销售价 ", example = "3.0")
    private BigDecimal salesPrice;

    /**
     * 关联公共产品id
     */
    @JsonProperty("ticket_id")
    @JSONField(name = "ticket_id")
    @ApiModelProperty(name = "ticket_id", notes = "关联公共产品id")
    private Long ticketId;

    /**
     * 关联公共产品id
     */
    @JsonProperty("product_code")
    @JSONField(name = "product_code")
    @ApiModelProperty(name = "product_code", notes = "关联公共产品id")
    private String productCode;
}